import * as actionTypes from '../actions/actionTypes';

export const cartNum = (state = '',action)=>{
  switch (action.type){
    case actionTypes.CART_NUM:
      return action.cartNum
    default:
      return state
  }
}


